//
//  BannerView.h
//  轮播图
//
//  Created by dllo on 15/11/27.
//  Copyright © 2015年 张树林. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^ACTION_BLOCK) (NSInteger index);


@interface SLBannerView : UIView

@property (nonatomic, copy) ACTION_BLOCK block;
@property (nonatomic, strong) NSArray *imageURLStrArray;
@property (nonatomic, strong) NSArray *titleStrArray;
@property (nonatomic, assign) CGFloat timeInterval;

+ (instancetype)bannerWithImageURLArray:(NSArray *)imageURLStrArray
                          titleStrArray:(NSArray *)titleStrArray
                            actionBlock:(ACTION_BLOCK)block;

+ (instancetype)bannerWithFrame:(CGRect)frame actionBlock:(ACTION_BLOCK)block;



@end
